package com.dinnerorders.web.enums;

public enum MessageCode {
    //-----------------COMMON MESSAGES-------------------------//
    COMMON_ERROR("common.error"),

    //-----------------MESSAGES AND NOTIFICATIONS--------------//
    INCORRECT_USERNAME_OR_PASSWORD("login.form.invalid_credentials"),

    //-----------------CAPTIONS AND TITLES/--------------------//
    LOGIN_PAGE_TITLE("page.login.title"),
    LOGIN_FORM_LOGIN("page.login.form.login.caption"),
    LOGIN_FORM_PASSWORD("page.login.form.password.caption"),
    LOGIN_FORM_BTN_LOGIN("page.login.form.login.button");

    private String code;

    private MessageCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}
